<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: /home/sky/yLib/src/core/yexception.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('yexception_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">yexception.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="yexception_8hpp_source.html">core/yexception.hpp</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ad8892aa65a2d3d432574e744aa208bab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yexception_8cpp.html#ad8892aa65a2d3d432574e744aa208bab">REGISTER_EXCEPTION</a>(exception_id,  exception_msg)&#160;&#160;&#160;    {exception_id, <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>(exception_msg)}</td></tr>
<tr class="separator:ad8892aa65a2d3d432574e744aa208bab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a32322708f497de3b1666514fb1415184"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structyLib_1_1yExceptionTable.html">yLib::yExceptionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yexception_8cpp.html#a32322708f497de3b1666514fb1415184">g_yexception_table</a> []</td></tr>
<tr class="separator:a32322708f497de3b1666514fb1415184"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ad8892aa65a2d3d432574e744aa208bab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8892aa65a2d3d432574e744aa208bab">&#9670;&nbsp;</a></span>REGISTER_EXCEPTION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define REGISTER_EXCEPTION</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">exception_id, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">exception_msg&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    {exception_id, <a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>(exception_msg)}</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a32322708f497de3b1666514fb1415184"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32322708f497de3b1666514fb1415184">&#9670;&nbsp;</a></span>g_yexception_table</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structyLib_1_1yExceptionTable.html">yLib::yExceptionTable</a> g_yexception_table[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">={</div>
<div class="line">    </div>
<div class="line">    { <a class="code" href="namespaceyLib.html#ac6be0d2eaca6d9f43e541be222ad62f0a1a6597b3b1a5e643a0cc2d31592d9555">yLib::yExceptionIdx::IDX_RESERVE_EXCEPTION</a> , <a class="code" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>( <span class="stringliteral">&quot;Reserved exception of yLib.&quot;</span> )},</div>
<div class="line">    { <a class="code" href="namespaceyLib.html#ac6be0d2eaca6d9f43e541be222ad62f0a687a2c1d33307801665fffdc5d8c19a0">yLib::yExceptionIdx::IDX_YBASIC_EXCEPTION</a> , <a class="code" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>( <span class="stringliteral">&quot;Basic exception of yLib.&quot;</span> )},</div>
<div class="line">}</div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="asrc_2CMakeLists_8txt_html_a296644e9ff1d0a602b4703f361406374"><div class="ttname"><a href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">string</a></div><div class="ttdeci">module_name string(TOLOWER ${class_name} class_dir_name) set(SRC $</div><div class="ttdef"><b>Definition:</b> CMakeLists.txt:65</div></div>
<div class="ttc" id="anamespaceyLib_html_ac6be0d2eaca6d9f43e541be222ad62f0a1a6597b3b1a5e643a0cc2d31592d9555"><div class="ttname"><a href="namespaceyLib.html#ac6be0d2eaca6d9f43e541be222ad62f0a1a6597b3b1a5e643a0cc2d31592d9555">yLib::IDX_RESERVE_EXCEPTION</a></div><div class="ttdeci">@ IDX_RESERVE_EXCEPTION</div><div class="ttdef"><b>Definition:</b> yexception.hpp:36</div></div>
<div class="ttc" id="anamespaceyLib_html_ac6be0d2eaca6d9f43e541be222ad62f0a687a2c1d33307801665fffdc5d8c19a0"><div class="ttname"><a href="namespaceyLib.html#ac6be0d2eaca6d9f43e541be222ad62f0a687a2c1d33307801665fffdc5d8c19a0">yLib::IDX_YBASIC_EXCEPTION</a></div><div class="ttdeci">@ IDX_YBASIC_EXCEPTION</div><div class="ttdef"><b>Definition:</b> yexception.hpp:37</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.html">core</a></li><li class="navelem"><a class="el" href="yexception_8cpp.html">yexception.cpp</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
